Farmer AI Simulator

Project Info:

The following prototype is a simulation of a farm in which we have the level itself that generates its trees randomly using cellular automata, in the simulation there are 3 types of bots:

  • The minion: It evolves through time in order to explore the whole map.

  • The farmer: He is in charge of distributing the flour for the creation of bread in the farm of the map.

  • The baker: He is in charge of creating bread and selling it to obtain resources and make his farm grow.

  • The minion works using genetic algorithms, thanks to the implementation of these algorithms the minion manages to differentiate the type of floor on which it walks and through the generations manages to walk through the entire map available without leaving it. The goal of this Bot is to explore the entire map, there are generations which have even learned to climb trees and go through the forest.

    The farmer and the baker work using Goal-Oriented Action Planning(GOAP), this artificial intelligence system allowed me to plan the sequence of actions of each of my bots independently, the nice thing about using GOAP is that we avoid the use of very large and complex state machines.

    Project Details:

    • Role:AI Programmer
    • Industry:Video games & AI.
    • Technologies:Unity/C#.
    • Status:Done
    • Date:Q1 2021